Method and apparatus for encoding and decoding video using skip mode

ABSTRACT

A video encoding apparatus includes: an inter prediction unit to determine a motion parameter of a current block and generate a predicted block of the current block, by performing a motion estimation on the current block; and an optimal mode determining unit to set a prediction mode of the current block as a SKIP mode when (i) the motion parameter of the current block is identical to a motion parameter of a candidate block among a plurality of candidate blocks and (ii) all-zero coefficients result from a transform and a quantization performed on a residual data block representing the difference between the current block and the predicted block.

CROSS-REFERENCE TO RELATED APPLICATION

The present application is a continuation of International PatentApplication No. PCT/KR2012/009435, filed Nov. 9, 2012, which claimspriority to Korean Patent Application No. 10-2011-0116686 filed on Nov.9, 2011. The Korean Patent Application No. 10-2011-0116686 isincorporated herein by reference in its entirety.

FIELD

The present disclosure in one or more embodiments relates to a methodand an apparatus for encoding and decoding a video with a SKIP codingmode.

BACKGROUND

The statements in this section merely provide background informationrelated to the present disclosure and does not constitute prior art.

Encoding and decoding a video according to the known standard ofH.264/AVC includes partitioning a single picture into a plurality ofmacroblocks. Each macroblock has a fixed size of 16×16 pixels. Therespective macroblocks are coded in all the available coding modes usinginter prediction method (called inter prediction modes) and all theavailable coding modes using inter prediction method (called interprediction modes), and then a single optimal coding mode satisfying apredetermined criterion is determined, in order to carry out the videoencoding and decoding operations by using the determined optimal codingmode. In this case, the predetermined criterion used in the H.264/AVCstandard is rate-distortion (R-D) optimization criterion. Therefore, theinventor(s) has noted that the single optimal mode is determined byconsidering together the bit rate required to encode each macroblock andthe degree of distortion between the original macroblock andreconstructed macroblock.

The intra prediction mode is used in intra prediction method. Theinventor(s) has noted that to encode the macroblock of the currentpicture, the intra prediction method does not refer to a referencepicture but predicts a predicted value of the macroblock first to encodeby using values of pixels spatially adjacent to the target macroblockand then encode the difference between the predicted pixel values andthe macroblock. Multiple intra prediction modes are presented dependingon the directions of the intra prediction. Referring to the drawings,the H.264/AVC standard uses nine directional intra prediction modes aswith 4×4 intra block and 8×8 intra block in FIG. 1A and four intraprediction modes as with 16×16 intra block in FIG. 1B.

The inter prediction mode is used in inter prediction method. To encodethe macroblock of the current picture, the inter prediction methodencodes motion information (e.g. motion vector, reference picture index,etc.) representative of one or a plurality of blocks selected from thereference picture and the differences between predicted pixel valuesgenerated by using the motion information and the macroblock. Theinventor(s) has noted that the H.264/AVC standard has up to fivereference pictures and they can be previous pictures or subsequentpictures of the current picture. Depending on the ways of partitioningthe macroblock to perform the motion prediction and compensation, avariety of prediction modes exist. As shown in FIG. 2, the H.264/AVCstandard uses five inter prediction modes of SKIP, P16×16, P16×8, P8×16and P8×8. The P8×8 mode is subdivided into four prediction modes ofP8×8, P16×8, P8×16 and P8×8 applicable to subblocks.

Thus, determining the optimal mode among the plurality of intraprediction modes and the plurality of inter prediction modes is a factorthat determines the video coding performance. As described above, theknown H.264/AVC standard takes all the available intra prediction modesand inter prediction modes for calculating their rate-distortion coststo select the mode with the lowest cost as the optimal prediction mode.However, the inventor(s) has experienced that such optimal mode decisionprocess requires very high complexity. Further, the inventor(s) hasnoted that the more intra prediction modes and inter prediction modesare used in order to achieve higher coding performance, the higher thecomplexity of the optimal mode decision process becomes. However, theinventor(s) has experienced that using the SKIP among the coding modesmake the encoding and decoding processes simpler, and when it is simpleto know whether encoding given image data in SKIP mode is appropriate,the amount of calculation is reduced while preventing degradation of thecoding performance. Therefore, the inventor(s) has noted that encodingand decoding the video using the SKIP mode is a technical challenge.

SUMMARY

In accordance with at least one embodiment of the present disclosure, avideo encoding apparatus comprises an inter prediction unit and anoptimal mode determining unit. The inter prediction unit is configuredto determine a motion parameter of a current block and generate apredicted block of the current block, by performing a motion estimationon the current block. And the optimal mode determining unit isconfigured to set a prediction mode of the current block as a SKIP modewhen (i) the motion parameter of the current block is identical to amotion parameter of a candidate block among a plurality of candidateblocks and (ii) all-zero coefficients result from a transform and aquantization performed on a residual data block representing thedifference between the current block and the predicted block.

In accordance with at least one embodiment of the present disclosure, avideo encoding apparatus comprises an inter prediction unit and anoptimal mode determining unit. The inter prediction unit is configuredto generate a predicted block of a current block with a motioncompensation performed by using a motion parameter of a single blockfrom candidate blocks among neighboring blocks of the current block. Andthe optimal mode determining unit is configured to set a prediction modeof the current block as a SKIP mode when all-zero coefficients resultfrom a transform and a quantization performed on a residual data blockrepresenting the difference between the current block and the predictedblock.

In accordance with yet another embodiment of the present disclosure, avideo decoding apparatus mat be configured to extract prediction modeinformation from a bitstream, reconstruct, as a current block, a blockthat is indicated by a motion parameter generated from extracting motionparameter identification information when the extracted prediction modeinformation is a SKIP mode, and predictively encode the current block bygenerating a predicted block based on the extracted prediction modeinformation when the extracted prediction mode information is not theSKIP mode.

In accordance with at least one embodiment of the present disclosure, avideo decoding apparatus comprises a bitstream decoder and a predictionunit. The bitstream decoder is configured to extract prediction modeinformation and motion parameter identification information from abitstream. And the prediction unit is configured to reconstruct acurrent block by using a block that is indicated by a motion parametergenerated by using the motion parameter identification information whenthe extracted prediction mode information is indicative of a SKIP mode,and generate a predicted block for the current block based on theextracted prediction information when the extracted prediction modeinformation is not indicative of the SKIP mode.

In accordance with at least one embodiment of the present disclosure,video decoding apparatus is configured to extract prediction modeinformation and motion parameter identification information from abitstream; reconstruct a current block by using a block that isindicated by a motion parameter generated by using the motion parameteridentification information when the extracted prediction modeinformation is indicative of a SKIP mode; and generate a predicted blockfor the current block based on the extracted prediction information whenthe extracted prediction mode information is not indicative of the SKIPmode.

BRIEF DESCRIPTION OF DRAWINGS

FIGS. 1A and 1B respectively are diagrams of nine directional intraprediction modes (4×4 and 8×8 intra blocks) and four intra predictionmodes (16×16 intra block) in the H.264/AVC standard.

FIG. 2 is diagram of the H.264/AVC standard using five inter predictionmodes of SKIP, P16×16, P16×8, P8×16 and P8×8.

FIG. 3 is a block diagram of a video encoding apparatus to which a fastmode decision apparatus is applied according to at least one embodiment.

FIG. 4 is a schematic diagram of a prediction unit according to at leastone embodiment.

FIG. 5 is a flowchart of a fast mode decision method according to atleast one embodiment.

FIG. 6 is a flowchart of a fast mode decision method according toanother embodiment.

FIG. 7 is a block diagram of a video decoding apparatus according to atleast one embodiment.

DETAILED DESCRIPTION

Hereinafter, the present disclosure will be described in detail withsome embodiments thereof referring to the accompanying drawings.

In the following description, a video encoding apparatus and/or a videodecoding apparatus according to one or more embodiments correspond to auser terminal such as a PC (personal computer), notebook computer, PDA(personal digital assistant), PMP (portable multimedia player), PSP(PlayStation Portable), wireless terminal, smart phone, TV and the like.A video encoding apparatus and/or a video decoding apparatus accordingto one or more embodiments correspond to a server terminal such as anapplication server, service server and the like. A video encodingapparatus and/or a video decoding apparatus according to one or moreembodiments correspond to various apparatuses each including (a) acommunication apparatus such as a communication modem and the like forperforming communication with various types of devices or awired/wireless communication networks, (b) a memory for storing variousprograms and data that encode or decode a video or perform aninter/intra prediction for encoding or decoding, and (c) amicroprocessor to execute a program so as to perform calculation andcontrolling, and the like.

Further, a video encoded into a bitstream by the video encodingapparatus is transmitted in real time or non-real-time to the videodecoding apparatus through wired/wireless communication networks such asthe Internet, wireless personal area network (WPAN), wireless local areanetwork (WLAN), WiBro (wireless broadband, aka WiMax) network, mobilecommunication network and the like or through various communicationinterfaces such as a cable, a universal serial bus (USB) and the like.According to one or more embodiments, the bitstream is decoded in thevideo decoding apparatus and is reconstructed to a video, and the videois played back.

In general, a video is formed of a series of pictures (also referred toherein as “images” or “frames”), and each picture is divided intopredetermined regions such as blocks. The divided blocks are classifiedinto an intra block or an inter block depending on an encoding scheme.The intra block refers to a block that is encoded based on an intraprediction coding scheme. The intra prediction coding scheme predictspixels of a current block by using pixels of blocks that were previouslyencoded and decoded to be reconstructed in a current picture to whichencoding is to be performed, so as to generate a predicted block, andencodes pixel differences between the predicted block and the currentblock. The inter block means a block that is encoded based on an interprediction coding scheme. The inter prediction encoding scheme predictsa current block in a current picture referring to at least one previouspicture and/or at least one subsequent picture, so as to generate apredicted block, and encodes differences between the predicted block andthe current block. Here, a frame that is referred to in encoding ordecoding the current picture (i.e., current frame) is called a referenceframe.

FIG. 3 is a block diagram of a video encoding apparatus 300 to which afast mode decision apparatus is applied according to an aspect of thepresent disclosure. Referring to FIG. 3, video encoding apparatus 300with the applied fast mode decision apparatus of this aspect includes apredictor 310, a residual data encoder 320, a residual data decoder 330,an entropy encoder 340, encoded data generator 350, an in-loop filter360, a subtractor 370 and an adder 380.

The video to be encoded is entered in blocks of a predetermined sizewhich is, for example, 16×16 type of macroblock type in the known caseof H.264/AVC standard. For the sake of convenience, some embodiments ofthe present disclosure define blocks as 2N×2N type as in the H.264/AVCstandard, though the blocks is of 2M×2N type more generally wherein Mand N are respectively equal to or more than 8 in particular and areintegers equal to or different from each other. In addition, the inputblock of size 2N×2N is subdivided into lower input blocks of size N×N.

Prediction unit 310 generates a predetermined size of the predictedblock of the current block. In other words, by predicting the currentblock with intra prediction or inter prediction or the like, theprediction unit 310 generates a predicted block having predicted pixelvalues as its pixel values. Subtractor 370 subtracts the predicted blockgenerated with the intra prediction or inter prediction or the like fromthe current block in order to generate residual data block. In otherwords, subtractor 370 provides residual data encoder 320 with theresidual data block generated having residual data which is generated bycalculating differences between the original pixel values of therespective pixels of the current block and the predicted pixels valuesof the respective pixels of the predicted block.

To this end, prediction unit 310 is configured to include an intraprediction unit 410, an inter prediction unit 420 and an optimal modedetermining unit 430. Intra prediction unit 410 generates predictedblocks with all the intra prediction modes that the current block canhave, and inter prediction unit 420 generates the predicted blocks withall the inter prediction modes that the current block can have. For eachof all the intra prediction modes and inter prediction modes that can begenerated by intra prediction unit 410 and inter prediction unit 420,optimal mode determining unit 430 calculates the correspondingrate-distortion cost and determines the mode with the lowest cost as theoptimal prediction mode.

Intra prediction unit 410 generates an intra prediction block of thecurrent block by using the current block and its closely neighboringblocks with available pixel values. Although one embodiment of thepresent disclosure is as shown in FIG. 1 having nine directional intraprediction modes (in case of N/2×N/2, N×N intra blocks) and four intraprediction modes (in case of 2N×2N intra blocks), the intra predictionmodes are defined in more diverse ways. For example, with 2M×2N form ofintra prediction modes, a combination of K directional intra predictionmodes and L non-directional intra prediction modes combined is used. Inparticular, M and N are 8 or greater or smaller than 8 with M and Nbeing the same integer or different integers from each other. Further,different number K or L of intra prediction modes is used depending onthe size of the intra blocks.

With respect to the current block and all of its temporally neighboring(previous, current or subsequent) reference pictures available for use,inter prediction unit 420 calculates error values between the respectiveinter prediction blocks and the current block, and generates the interprediction block of the current block through the inter prediction blockof the reference picture with a minimum error value. In this case, interprediction unit 420 estimates motion vector based on the location of theinter prediction block with the minimum error value between the currentblock. In particular, when rate-distortion optimization criteria havebeen applied to the motion estimation process, the inter predictionblocks are determined in consideration of not only the error valuesbetween the inter prediction blocks and the current block but also theamount of bits involved in encoding motion information (motion vectors,reference picture indices, etc.).

In particular, in order to minimize the amount of bits required for themotion information, the known H.264/AVC standard determines a singlepredictive motion vector (PMV) by using a median value among motionvectors of the neighboring blocks, uses the PMV as the predicted valueof the current motion vector and transmits or stores only thedifferential motion vector. Therefore, the coding efficiency isefficiently achieved by reducing the amount of the motion information(differential motion vectors, reference picture indices, etc.). For thepurpose of more general illustration, one exemplary embodiment of thepresent disclosure presents a method for determining an optimalpredictive motion vector singled from a plurality of candidatepredictive motion vector. In this case, a predictive motion vector indexis transmitted together or stored in order to express which candidatepredictive motion vector is being used. This means that, in the processof motion estimation, consideration is made to the required bits forencoding the motion information including the predictive motion vectorindex, differential motion vectors and reference picture indices. Oneembodiment of the present disclosure is as shown in FIG. 2 illustratingthe H.264/AVC standard with five inter prediction modes (SKIP, P2N×2N,P2N×N, PN×2N and PN×N), although they can be defined in a wider varietyof methods. For example, various other inter prediction modes are addedsuch as 2M×N/2, M/2×2N.

Optimal mode determining unit 430 calculates the rate-distortion costsfor all the available intra prediction modes and inter prediction modesof the current block generated through intra prediction unit 410 andinter prediction unit 420, and determines the mode with the lowest costas the optimal prediction mode of the current block mode. In oneembodiment of the present disclosure, a predetermined optimal decisioncriterion is exemplified for a common method for rate-distortionoptimization but various decision criteria is applied in more generalimplementations. For example, the distortion is applied as the decisioncriteria depending on embodiments. Further, some embodiments let theoptimal prediction mode of the current block to be determined byforgoing calculating the rate-distortion costs with respect to all therespective intra prediction modes and/or inter prediction modes that areavailable to the current block.

However, as described above, calculating the respective rate-distortioncosts of all the current block's available intra prediction modes and/orinter prediction modes involves very high complexity. Therefore, thepresent disclosure in some embodiments provides optimal mode determiningunit 430 adapted to perform (a) when it is needed to determine anoptimal mode of predetermined size of blocks that can have multipleintra and inter prediction modes, determining whether a block satisfiespredetermined conditions positively corresponding to a first mode; and(b) when the conditions for the first mode are met, determining thefirst mode as an optimal mode of the block and encoding the block withthe determined first mode. In other words, optimal mode determining unit430 in some embodiments forgoes calculating the respectiverate-distortion costs of all of the current block's available intra andinter prediction modes and preferentially determines whether thepredetermined conditions for the first mode is satisfied. When thecurrent block satisfies the conditions for the first mode, optimal modedetermining unit 430 forgoes calculating the rate-distortion costs ofall the prediction modes but the first mode to determine the first modeas the optimal prediction mode of the block. If the current block doesnot satisfy the conditions for the first mode, determining unit 430performs calculating the rate-distortion costs of all the predictionmodes and determines the mode with the lowest rate-distortion cost asthe optimal prediction mode of the block.

According to some embodiments of the present disclosure, thepredetermined conditions positively corresponding to the first mode are(a) the block sizes for motion prediction and compensation being of acoding unit such as 2N×2N (i.e. P2N×2N mode), (b) the motion vector andreference picture index of the current block respectively correspondingto those of one of a plurality of candidate blocks and (c) all-zerocoefficients resulting from transforming and quantizing the residualdata block between the predetermined input block and the predictedblock. That is, when the all-zero coefficients result from the transformand the quantization performed on the residual data block, the optimalmode determining unit sets the prediction mode of the current block asthe SKIP mode without comparing costs of encoding the current block forother prediction modes other than the SKIP mode.

The first mode is SKIP mode for transmitting or storing only the codingmode information of the input block. Different from the known SKIP modethat transmits or stores only the coding mode information of the inputblock, the present disclosure in some embodiments has temporally andspatially adjacent multiple candidate neighboring blocks' motionparameters (motion vector and reference picture index) to single out apredictive motion parameter, and in response, it further transmits orstores candidate block index information for enabling identification ofthe candidate block with a predictive motion parameter selected.

FIG. 5 is a flowchart of the high-speed mode determining methoddescribed above according to at least one embodiment of the presentdisclosure.

As shown in FIG. 5, upon receipt of the current block of 2N×2N form, apreferential check is made for whether the input current block can bedetermined early as assuming SKIP mode based on the predeterminedcondition. As described above, the SKIP mode is adapted to store ortransmit to a video decoding apparatus, only the coding mode informationof the input current block and if needed, the SKIP mode is adapted totransmit an additional neighboring block index, representing a candidateblock among multiple candidate neighboring blocks, as the identifyinginformation for the motion parameter to make a residual motion vectorzero. This is appropriate with a background portion of the video or suchwhich is highly probable to have given blocks of the current picturebeing equally pixelated to the corresponding reference blocks of thereference picture, in which case it is not necessary to transmit orstore extra encoded information such as residual data or motion vectorinformation but transmitting or storing just the coding mode information(and/or neighboring block indexes).

In order to check the possibility of an early determination of anencoded mode as the SKIP mode, this embodiment performs motionprediction on P2N×2N mode of the current block, and then determinesmotion vectors, predictive motion vector indexes and reference pictureindexes in step S501. During the aforementioned motion estimation,applying a rate-distortion optimization is as in Equation 1.

$\begin{matrix}{{\left( {{pmv},{dmv}} \right) = {\underset{{dmv}_{i} \in {SR}}{argmin}\left\{ {\underset{{pmv}_{j} \in {CS}}{{argmin}\;}{J\left( {{pmv}_{j},{dmv}_{i}} \right)}} \right\}}}{J\left( {{pmv}_{j},{dmv}_{i}} \right)} = {{D\left( {{pmv}_{j} + {dmv}_{i}} \right)} + {\lambda \begin{Bmatrix}{{R_{dmv}\left( {dmv}_{i} \right)} +} \\{R_{pmv}\left( {pmv}_{j} \right)}\end{Bmatrix}}}} & {{Equation}\mspace{14mu} 1}\end{matrix}$

In Equation 1, J and D respectively refer to a rate-distortionoptimization function and a function of distortion. R_(dmv) is ameasurement function of the amount of bits needed to encode thedifferential motion vector dmv, corresponding to candidate predictivemotion vectors included in a predetermined motion estimation range orsearch range, R_(pmv) is a measurement function of the amount of bitsneeded to encode candidate predictive motion vectors pmv, included apredetermined candidate predictive motion vector set or candidate set,and A is a Lagrange multiplier. Therefore, as shown in Equation 1, withrespect to P2N×2N mode of the current block, the present embodimentselects a differential motion vector dmv and a predictive motion vectorpmv which minimize rate-distortion optimization function J andcalculates the rate-distortion cost. Thereafter, it is checked whetherthe current block can be determined early as assuming SKIP mode based ona predetermined condition (S502). When the current block satisfies theconditions positively corresponding to the SKIP mode, the embodimentforgoes the process of rate-distortion cost calculation with respect toall other prediction modes than the SKIP mode to determine the SKIP modeas the optimal mode of the current block (S503). When the current blockdoes not satisfy the same conditions failing to correspond to the SKIPmode, the embodiment performs the rate-distortion cost calculations withrespect to all prediction modes (S504-S507) and determines the mode withthe lowest rate-distortion cost as the optimal mode of the current block(S508).

According to some embodiments of the present disclosure, thepredetermined conditions are (a) the block sizes for motion predictionand compensation being 2N×2N and (b) all-zero coefficients resultingfrom transforming and quantizing the residual data block between thepredetermined input block and the prediction block.

The first mode is SKIP mode for transmitting or storing only the codingmode information of the input block. Different from the known SKIP modethat normally transmits or stores only the coding mode information ofthe input block, the present disclosure in some embodiments hastemporally and spatially adjacent multiple neighboring blocks' motionparameters (motion vector and reference picture index) to select theoptimal predictive motion parameter, and therefore, it further stores ortransmits to the video decoding apparatus, predictive motion vectorindex information for identifying multiple candidate predictive motionvectors.

FIG. 6 is a flowchart showing the fast mode decision method inaccordance with at least another embodiment of the present disclosure.

As shown in FIG. 6, upon receiving 2N×2N form of the current block,inter prediction unit 420 checks for the possible early determination ofthe current block as assuming SKIP mode by forgoing the overall motionpredictions against P2N×2N mode but applying the rate-distortionoptimization process only to the multiple candidate predictive motionvectors, respectively. Here, the candidate predictive motion vectorsrefer to the motion vectors of spatial and temporal neighbor blockswherein the spatial neighbor blocks are blocks adjacent to the currentblock and the temporal neighbor blocks are blocks in the previouspicture at locations similar to that of the current block. The blockssimilarly located to the current block mean either co-located blocks ornear co-located blocks of the current block. Further, the candidatepredictive motion vectors are not limited thereto, and various otherblocks are used depending on embodiments.

With the candidate predictive motion parameters used as they are formotion estimation, the present embodiment assumes the differentialmotion vector to be (0, 0). Accordingly, the embodiment uses each of thecandidate predictive motion parameters to perform the motion estimationand applies the rate-distortion optimization process to determining theoptimal one of the predictive motion parameters and using thereof tocalculate the rate-distortion cost (S601). Thereafter, optimal modedetermining unit 430 checks whether the current block can be determinedearly as assuming SKIP mode based on predetermined conditions (S602).Based on the initial assumption of the differential motion vector to be(0, 0), this embodiment has just two conditions to verify. Specifically,this embodiment is suffice to check for satisfied conditions of (a)2N×2N being the form of encoding performed and (b) all-zero coefficientsresulting from transform and quantization of the residual data blockbetween the predetermined input block and the prediction block which isgenerated by using select motion parameter generated from motioncompensation with a select motion parameter of a selected one ofcandidate neighboring blocks.

When the current block satisfies the conditions positively correspondingto the SKIP mode, optimal mode determining unit 430 forgoes the processof rate-distortion cost calculation with respect to all other predictionmodes than the SKIP mode to determine it as the optimal mode of thecurrent block (S603). When the current block does not satisfy the sameconditions failing to correspond to the SKIP mode, optimal modedetermining unit 430 performs the rate-distortion cost calculations withrespect to all prediction modes (S604-S608) and determines the mode withthe lowest rate-distortion cost as the optimal mode of the current block(S609).

Subtractor 370 subtracts the predicted block from the current block forgenerating a residual block.

Residual data encoder 320 performs transform and quantization on theresidual data block for generating transformed and quantized residualdata block. In this case, the transform uses various schemes fortransforming spatial domain signals to frequency domain signals such asHadamard transform, discrete cosine transform, etc. The quantizationuses various quantization techniques including uniform quantization withdead zone inclusive, quantization matrix, etc. In this case, theapplicable size as well as shape of the transform block subject to thetransform and quantization varies within a range not exceeding the sizeof the current block inputted. For example, assuming the size of thecurrent block is a 2N×2N and the predicted block is of N×N, theavailable transform blocks for use are in units including 2N×2N, 2N×N,N×2N, N×N, N×N/2, N/2×N and N/2×N/2 not exceeding the 2N×2N unit. Thesize of the transform block is also selected by a rate-distortionoptimization criterion. In other words, a variety of sizes as well asshapes of the transform block subject to the transform and quantizationare selected by a predetermined criterion within a range not exceedingthe size of the current block inputted.

Residual data decoder 330 performs an inverse quantization and aninverse transform on the transformed and quantization residual blockfrom residual data encoder 320 to reconstruct the residual block. Theinverse quantization and inverse transform can be configured in variousways by reversing the quantization and transform processes by residualdata encoder 320. For example, residual data encoder 320 and residualdata decoder 330 do not have to use their shared processes of transformand inverse transform or quantization and inverse transform. Instead,residual data decoder 330 performs the inverse quantization and inversetransform by inversely performing the quantization and transformprocesses of residual data encoder 320 with the use of transform andquantization process information (e.g. data of transform size, transformshape, quantization type and the like) generated and delivered by thetransform and quantization processes of residual data encoder 320. Bycombining the residual block output through residual data decoder 330and predicted values reconstructed through prediction unit 310, areconstructed video is generated.

Entropy encoder 340 performs entropy encoding on the residual data blockfrom residual data encoder 320 to output the entropy encoded residualdata block. Though not shown in the presented embodiments, if needed,entropy encoder 340 encodes not only the residual data block but alsovarious information required for decoding the encoded bitstream. Thevarious information mentioned as required here refers to information onblock types, intra prediction mode as set for the prediction, interprediction mode as set for the prediction and transform and quantizationtypes among others.

Further, the entropy encoding method used by entropy encoder 340includes context-adaptive variable length coding, context-adaptivebinary arithmetic coding and various other methods.

Encoded data generator 350 aligns and bitstreams the entropy encodedresidual data, macroblock mode and encoded prediction information whichis information on intra prediction mode in case of intra encoding, andmotion vector, candidate motion vector index, reference picture indexand the like in case of inter encoding.

Filter unit 360 filters the reconstructed current block order to reducethe influence of the distortion generated by the prediction and thequantization. According to an exemplary embodiment of the presentdisclosure, filter unit 360 can perform adaptive filtering by usingblock based prediction related information or transform and quantizationrelated information transmitted along with the reconstructed currentblock, wherein the prediction related information refers to informationon, for example intra prediction mode in case of intra encoding andreference picture index and motion vector in case of inter encoding, andthe transform and quantization related information refers to informationon, for example transformed block's size and shape, quantizationparameter and the like. In this case, prediction related or quantizationrelated information is passed directly to filter unit 360 of theencoding apparatus, or bitstreamed by encoded data generator 350 anddelivered to a decoding apparatus. Further, filter unit 360 compensatesthe difference between the input current block and the reconstructedcurrent block to minimize the effects of distortion caused by theprediction quantization, allowing the corresponding difference to bebitstreamed and transferred by encoded data generator 350 to thedecoding apparatus.

Adder 380 adds the residual block reconstructed by residual data encoder330 and the predicted block generated by prediction unit 310 toreconstruct the current block.

FIG. 7 is a block diagram showing a video decoding apparatus 700according to at least one exemplary embodiment of the presentdisclosure.

Video decoding apparatus 700 in this example includes a bitstreamdecoder 710, a residual data decoder 720, a prediction unit 730, anadder 740 and a filter 750.

Bitstream decoder 710 performs decoding on a bitstream to decode orextract not only quantized frequency transformed blocks but alsoinformation required for the decoding. The required information fordecoding refers to information required to decode an encoded bit stringwithin encoded data (i.e. bitstream) and the same information includes,for example size information of coding unit (CU), prediction unit (PU),transform unit (TU), information on coded block pattern (cbp) and codedblock flag (cbf), information needed for prediction, motion vectorrelated information, information on transform and quantization types andvarious other information.

In other words, bitstream decoder 710 decodes the encoded data bitstreamfrom video encoding apparatus 300, extracts therefrom informationrequired for the prediction and quantized frequency transformed blockincluding current block pixel information of a video, and delivers theextracted information required for the prediction to prediction unit730.

Prediction unit 730 can predict the current block in the same manner asprediction unit 310 of video encoding apparatus 300 by using informationnecessary for the prediction delivered from bitstream decoder 710.

Residual data decoder 720 performs inverse quantization and inversetransform on the quantized frequency transformed block extracted fromthe bitstream by bitstream decoder 710 to reconstruct a residual block.

Adder 740 adds the reconstructed residual signal from residual datadecoder 720 and the predicted pixel values generated by prediction unit730 to reconstruct the original pixel values of the current block. Whenthe prediction mode is SKIP mode, it is not necessary for Adder 740 addthe predicted pixel values generated by prediction unit to thereconstructed residual signal because there is not residual signal whenthe prediction mode is SKIP mode.

With respect to the reconstructed current block, filter 750 performs thesame operations as video encoding apparatus 300 does on itsreconstructed current block.

Meanwhile, bitstream decoder 710 checks for whether SKIP mode is theprediction mode of the extracted information for prediction, which hasbeen provided by extracting information on the prediction mode from thebitstream. If it is, prediction unit 730 reconstructs, as the currentblock, a block that is indicated by the motion parameter generated fromextracted motion parameter identification information. The reconstructedcurrent block by the prediction unit 730 is used as the current blockwithout adding to the reconstructed residual signal from the residualsignal decoder 720.

When the prediction mode is not the SKIP mode, prediction unit 730predict the current block by generating a predicted block based on theextracted prediction mode information.

A video encoding/decoding apparatus according to an embodiment of thepresent disclosure are made by connecting the bitstream output terminalof video encoding apparatus 300 of FIG. 3 to the bitstream inputterminal of video decoding apparatus 700 of FIG. 7.

The video encoding/decoding apparatus comprise a video encoder and avideo decoder. The video encoder is configured to perform a predictiveencoding on a current block with a predetermined size and a predictionmode set as a SKIP mode (a) when a motion estimation performed on thecurrent block results in that a motion vector and reference pictureindex of the current block are respectively identical to a motion vectorand reference picture index of a block of candidate blocks and thatall-zero coefficients result from a transform and a quantizationperformed on a residual data block representing the difference betweenthe current block and a predicted block or (b) upon a motioncompensation performed by using a single motion parameter of a blockfrom candidate blocks composed of neighboring blocks of the currentblock and when all-zero coefficients result from a transform and aquantization performed on a residual data block representing thedifference between the current block and a predicted block. The videodecoder is configured to extract prediction mode information from abitstream, and when the extracted prediction mode information is a SKIPmode, reconstructs, as current block, a block that is indicated by amotion parameter generated from extracting motion parameteridentification information.

In here, the video encoder is implemented by video encoding apparatus300 according to an exemplary embodiment of the present disclosure, andthe video decoder is implemented by video decoding apparatus 700according to an exemplary embodiment of the present disclosure.

A video encoding method according to some embodiments of the presentdisclosure comprises performing predictive encoding on a current blockwith a predetermined size and a prediction mode set as a SKIP mode whena motion estimation performed on the current block results in that amotion vector and reference picture index of the current block arerespectively identical to a motion vector and reference picture index ofa block of candidate blocks and that all-zero coefficients result from atransform and a quantization performed on a residual data blockrepresenting the difference between the current block and a predictedblock.

Here, when the all-zero coefficients result from the transform and thequantization performed on the residual data block representing thedifference between the current block and a predicted block, the videoencoding method according to some embodiments of the present disclosureforgos processes for comparing between encoding costs of predictionmodes other than the SKIP mode and performs the predictive encoding onthe current block with the prediction mode set as the SKIP mode.

Another video encoding method according to some embodiments of thepresent disclosure comprises performing a predictive encoding processupon a motion compensation performed by using a single motion parameterof a block from candidate blocks composed of neighboring blocks of acurrent block of a predetermined size and when all-zero coefficientsresult from a transform and a quantization performed on a residual datablock representing the difference between the current block and apredicted block, for predictively encoding the current block with aprediction mode set as a SKIP mode by using the single motion parameter.

Here, when the all-zero coefficients result from the transform and thequantization performed on the residual data block representing thedifference between the current block and the predicted block, theanother video encoding method according to some embodiments of thepresent disclosure performs the predictive encoding on the current blockwith the SKIP mode by using the single motion parameter.

The video encoding method described here corresponds to the operation ofvideo encoding apparatus 300 and therefore a detailed descriptionthereof will be omitted.

A video decoding method according to some embodiments of the presentdisclosure comprises extracting prediction mode information from abitstream; when the extracted prediction mode information is a SKIPmode, reconstructing, as current block, a block that is indicated by amotion parameter generated from extracting motion parameteridentification information; and when the extracted prediction modeinformation is not the SKIP mode, predictively encoding the currentblock by generating a predicted block based on the extracted predictionmode information.

The video decoding method described here corresponds to the operation ofvideo decoding apparatus 700 and therefore a detailed descriptionthereof will be omitted.

A video encoding/decoding method according to an embodiment of thepresent disclosure are implemented by combining the video encodingmethod according to some embodiments and the video decoding methodaccording to some embodiments.

The video encoding/decoding method comprise a video encoding process anda video decoding process. The video encoding process comprisesperforming a predictive encoding on a current block with a predeterminedsize and a prediction mode set as a SKIP mode when either (a) a motionestimation performed on the current block results in that a motionvector and reference picture index of the current block are respectivelyidentical to a motion vector and reference picture index of a block ofcandidate blocks and that all-zero coefficients result from a transformand a quantization performed on a residual data block representing thedifference between the current block and a predicted block or (b) upon amotion compensation performed by using a single motion parameter of ablock from candidate blocks composed of neighboring blocks of thecurrent block and when all-zero coefficients result from a transform anda quantization performed on a residual data block representing thedifference between the current block and a predicted block. The videodecoding process comprises extracting prediction mode information from abitstream, and when the extracted prediction mode information is a SKIPmode, reconstructing, as current block, a block that is indicated by amotion parameter generated from extracting motion parameteridentification information.

According to the present disclosure in some embodiments as describedabove, a video is encoded and decoded more effectively with SKIP codingmode determined during the video coding process to reduce the complexityof the coding without degrading the coding efficiency. Therefore, thepresent disclosure has been made for encoding and decoding a video moreeffectively with a coding mode quickly determined during the videocoding process. In the description above, although all of the componentsof the embodiments of the present disclosure have been explained asassembled or operatively connected as a unit, one of ordinary skillwould understand the present disclosure is not limited to suchembodiments. Rather, within some embodiments of the present disclosure,the respective components are selectively and operatively combined inany number of ways. Every one of the components are capable of beingimplemented alone in hardware or combined in part or as a whole andimplemented in a computer program having program modules residing incomputer readable media and causing a processor or microprocessor toexecute functions of the hardware equivalents. Codes or code segments toconstitute such a program are understood by a person skilled in the art.The computer program is stored in a non-transitory computer readablemedium, which in operation realizes the embodiments of the presentdisclosure. The computer readable medium includes a magnetic recordingmedium and/or an optical recording medium, in some embodiments.

Although exemplary embodiments of the present disclosure have beendescribed for illustrative purposes, those skilled in the art willappreciate that various modifications, additions and substitutions arepossible, without departing from the various characteristics of thedisclosure. That is, it is understood that the present disclosure shouldnot be limited to these embodiments but various changes andmodifications are made by one ordinarily skilled in the art within thesubject matter, the spirit and scope of the present disclosure ashereinafter claimed. Specific terms used in this disclosure and drawingsare used for illustrative purposes and not to be considered aslimitations of the present disclosure. Exemplary embodiments of thepresent disclosure have been described for the sake of brevity andclarity. Accordingly, one of ordinary skill would understand the scopeof the claimed invention is not limited by the explicitly describedabove embodiments but by the claims and equivalents thereof.

1. A video encoding apparatus, comprising: an inter prediction unitconfigured to determine a motion parameter of a current block andgenerate a predicted block of the current block, by performing a motionestimation on the current block; and an optimal mode determining unitconfigured to set a prediction mode of the current block as a SKIP modewhen (i) the motion parameter of the current block is identical to amotion parameter of a candidate block among a plurality of candidateblocks and (ii) all-zero coefficients result from a transform and aquantization performed on a residual data block representing thedifference between the current block and the predicted block.
 2. Thevideo encoding apparatus of claim 1, wherein a size of the current blockis a coding unit.
 3. The video encoding apparatus of claim 1, furthercomprising an encoded data generator configured to transmitrepresentative information for the SKIP mode and identificationinformation for the motion parameter to a video decoding apparatus. 4.The video encoding apparatus of claim 1, wherein when the all-zerocoefficients result from the transform and the quantization performed onthe residual data block, the optimal mode determining unit is configuredto set the prediction mode of the current block as the SKIP mode withoutcomparing costs of encoding the current block for other predictionmodes.
 5. A video encoding apparatus, comprising: an inter predictionunit configured to generate a predicted block of a current block with amotion compensation performed by using a motion parameter of a singleblock from candidate blocks among neighboring blocks of the currentblock; and an optimal mode determining unit configured to set aprediction mode of the current block as a SKIP mode when all-zerocoefficients result from a transform and a quantization performed on aresidual data block representing the difference between the currentblock and the predicted block.
 6. The video encoding apparatus of claim5, wherein a size of the current block is a coding unit.
 7. The videoencoding apparatus of claim 5, further comprising an encoded datagenerator configured to transmit representative information for the SKIPmode and identification information for the motion parameter to a videodecoding apparatus.
 8. The video encoding apparatus of claim 5, whereinthe motion parameter includes a motion vector and a reference pictureindex.
 9. The video encoding apparatus of claim 7, wherein theidentification information for the motion parameter is information foridentifying the single block from the candidate blocks.
 10. The videoencoding apparatus of claim 5, wherein a predictive encoding isperformed on the current block with the SKIP mode by using the motionparameter when the all-zero coefficients result from the transform andthe quantization performed on the residual data block.
 11. A videodecoding apparatus, comprising: a bitstream decoder configured toextract prediction mode information and motion parameter identificationinformation from a bitstream; and a prediction unit configured toreconstruct a current block by using a block that is indicated by amotion parameter generated by using the motion parameter identificationinformation when the extracted prediction mode information is indicativeof a SKIP mode, and generate a predicted block for the current blockbased on the extracted prediction information when the extractedprediction mode information is not indicative of the SKIP mode.
 12. Thevideo decoding apparatus of claim 11, wherein the motion parameterincludes a motion vector and a reference picture index, and the motionparameter identification information identifying the block from aplurality of neighboring blocks of the current block.
 13. The videodecoding apparatus of claim 11, further comprising: a residual datadecoder configured to reconstruct a residual block from the bitstream;and an adder configured to add the generated predicted block and theresidual block to reconstruct the current block.
 14. A video decodingmethod, comprising: extracting prediction mode information and motionparameter identification information from a bitstream; reconstructing acurrent block by using a block that is indicated by a motion parametergenerated by using the motion parameter identification information whenthe extracted prediction mode information is indicative of a SKIP mode;and generating a predicted block for the current block based on theextracted prediction information when the extracted prediction modeinformation is not indicative of the SKIP mode.